import java.util.Scanner;

/**
 * @author vivi
 * @description
 * @date 2024/5/20
 */
public class demo3 {
    public static void main (String[] args) {
        Scanner scanner = new Scanner(System.in);
        long x = scanner.nextLong();
        int[] arr = new int[20]; // 存放每位数字
        int n = 0, sum = 0;

        while(x != 0)
        {
            int t = (int)(x % 10);
            arr[n++] = t;
            sum += t;
            x /= 10;
        }
        if(sum % 2 == 1)
        {
            System.out.println("No");
        }else {
            sum /= 2;
            boolean[] dp = new boolean[sum + 1];
            dp[0] = true;
            // ???
            for(int i = 0; i < n; i++) {
                for(int j = sum; j >= arr[i]; j--) {
                    dp[j] = dp[j] || dp[j - arr[i]];
                }
            }
            if(dp[sum]) System.out.println("Yes");
            else System.out.println("No");
        }
    }
}
